import 'chat_type.dart';

class ChatModel {
  String? name;
  String? chatStr;
  ChatContentType? type;
  ChatModel({this.name, this.chatStr, this.type = ChatContentType.text});

  ChatModel.fromJson(Map<String, dynamic> json) {
    name = json["name"];
    chatStr = json["chatStr"];
    type = json["type"] ?? ChatContentType.text;
  }
}

class EmojiModel {
  EmojiType? type;
  String? str;
  EmojiModel({
    this.type,
    this.str,
  });
}
